package com.rd.student.ruanjian.class4.zhouzihe.day06;

import java.util.LinkedList;

public class LinkedListTest {
    public static void main(String[] args) {
        LinkedList list = new LinkedList();
        //添加学习信息到list中
        //添加你所在的小组成员
        //名字专业班级
        Student student1 = new Student("duhang", "ruanjian", "5");
        Student student2 = new Student("lichunquan", "ruanjian", "4");
        Student student3 = new Student("zhouzihe", "ruanjian", "4");
        Student student4 = new Student("zhangrui", "ruanjian", "4");
        Student student5 = new Student("gaoyiming", "ruanjian", "4");
        Student student6 = new Student("wangxingkai", "ruanjian", "4");
        Student student7 = new Student("baiyunyao", "ruanjian", "4");
        list.add(student1);
        list.add(student2);
        list.add(student3);
        list.add(student4);
        list.add(student5);
        list.add(student6);
        list.add(student7);
        for (int i = 0; i < list.size(); i++) {
            System.out.println(list.get(i));
        }

    }
}

